Part Number Hot Search : 
LANCW12 SMA39 CS387 5A150 4532C H836094 OPS002 1N4752
Product Description
Full Text Search
 

To Download VV6501 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  march 2003 adcs 7283313c 1/44 stv0681 dual-mode digital camera co-processor ? description stmicroelectronics imaging division has produced the camera co-processor stv0681 which, used with cif/vga sensors as part of a low cost dual- mode camera chipset, allows a new line of low cost cameras or toy products to be brought to the market. stv0681 is a mask rom version of stv0680b, programmed with v3.00 firmware. features st have maintained the standard features already available in the successful stv068b chipset, including: l support for vv6411 (cif) and VV6501 (vga) cmos imaging sensors. l support for sdram sizes 16mbit (up to 20 cif images) or 64mbit (up to 80 cif or 26 vga images). l low resolution economy mode allows for more images to be stored. l high frame rate web cam (tethered video) over usb. l audio record/playback and delete last function l custom sounds playback (e.g. talking or musical camera) l support for an oem flashgun module l automatic anti-flicker exposure control. l image up load over rs232 or usb. l driver support for win98/win2k/winme and macos 8.6/9.0/9.1. l continuous capture while untethered (except when flashgun enabled) and downloading to avi file format l power-saving stand-by mode which maintains memory contents. l simple user interface including 2 buttons, status lcd display, and buzzer. l evaluation kit (evk) available. l software development kit (sdk) allows oem pc software applications to be written. l quick power down (by holding mode button). l delete last function audio record and playback the enhanced features included in stv0681 allow audio memos to be recorded at a sampling rate of 11khz, by adding a microphone and comparator chip, and by utilizing the pre-amplifier included in cif/vga sensors such as vv6411 and VV6501 respectively. these sounds can be uploaded to the pc over usb or rs232, and played back using a software application developed by the oem using the sdk. demonstration pc software with source code is available with the evaluation kit (evk). with suitable oem software, the camera could even be used to record comments about pictures or video clips in a dictaphone fashion, with the audio commentary played back when viewing the pictures/video. recorded audio sounds can also be played back on the camera, with the addition of an amplifier chip and speaker or headphone socket. by auto-detecting hardware, stv0681 will only enable these additional functions if audio hardware is fitted. actual hardware implementation is the subject of a separate stv0681 reference design (see chapter 10 ). evaluation kit and reference design evaluation kits are available for stv0681 features. precise design guidelines are available from st as a reference design manual (see chapter 10 ). note: simultaneous audio record and continuous video capture is not possible.
stv0681 2/44 adcs 7283313c table of contents chapter 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 1.1 digital camera chipset ..................................................................................................... ..... 5 1.2 key system features ........................................................................................................ ..... 6 chapter 2 detailed features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 2.1 sensor type and image formats ........................................................................................... 9 2.2 user interface ............................................................................................................. ........ 10 2.3 battery level detect and usb auto-switch .......................................................................... 12 2.4 audio record and playback ................................................................................................. 1 2 2.5 pc interface options and software support ........................................................................ 13 2.6 anti-flicker exposure and gain control ................................................................................ 14 chapter 3 camera modes of operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 3.1 modes available ............................................................................................................ ..... 15 3.2 description of modes ....................................................................................................... .. 16 chapter 4 stv0681 hardware interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18 4.1 sensor interface ........................................................................................................... ...... 18 4.2 memory interface ........................................................................................................... .... 18 4.3 usb interface .............................................................................................................. ....... 21 4.4 uart module for rs232 interface ..................................................................................... 22 4.5 power management and battery type ................................................................................ 23 4.6 quartz crystal ............................................................................................................. ........ 24 4.7 numeric lcd interface ...................................................................................................... .24 4.8 switches and leds ......................................................................................................... .. 25 4.9 flashgun hardware interface .............................................................................................. 26 4.10 ir filter ................................................................................................................. ............... 26 chapter 5 customising the stv0681 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 5.1 external eeprom ............................................................................................................ .27 5.2 eeprom data format ........................................................................................................ 2 8 5.3 programming the eeprom ............................................................................................... 28
adcs 7283313c 3/44 stv0681 chapter 6 software support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 6.1 general features ........................................................................................................... ..... 29 6.2 software installation ...................................................................................................... ..... 30 chapter 7 detailed chipset specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 7.1 typical camera specifications ............................................................................................ 31 7.2 absolute maximum ratings ................................................................................................. 31 7.3 stv0681 specifications ..................................................................................................... .32 7.4 usb specifications ......................................................................................................... .... 32 7.5 dc characteristics ......................................................................................................... ..... 33 7.6 pll characteristics ........................................................................................................ ..... 33 7.7 crystal tolerance .......................................................................................................... ...... 33 7.8 typical current consumption of complete camera .............................................................. 34 chapter 8 stv0681 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 8.1 stv0681 pinout ............................................................................................................. .... 35 8.2 stv0681 pin description .................................................................................................... 36 chapter 9 stv0681 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41 chapter 10 evaluation kit (evk) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 10.1 ordering details .......................................................................................................... ........ 42 10.2 technical support ......................................................................................................... ...... 43
stv0681 4/44 adcs 7283313c document revision history revision draft date comments a 1.0 may 2001 initial release (product preview) b 4.0 april 2002 document status updated to datasheet. major changes: removed references of vv6410 and vv6444 sensors c4.1november 2002 removed all salestypes for imaging sensors: removed section 6.1 addition of chapter 5 - customizing the stv0681 replacement of section 6.1 - general features (in chapter 6 - software support)
adcs 7283313c 5/44 stv0681 introduction 1 introduction 1.1 digital camera chipset 1.1.1 general this document describes the features and functionality of a cmos chipset, comprising an stmicroelectronics (st) cif or vga resolution sensor and an stv0681 companion processor, as well as outlining what peripheral components are required/supported in order to complete a camera using the chipset. such a camera is particularly suited to dual-mode digital stills or toy applications. 1.1.2 stills capture and image upload in stills mode, the camera stores raw image data in memory. the camera features no colour processing, ensuring its simplicity and low cost. subsequent upload of raw data to a pc or macintosh for processing is done through an rs232 or usb interface, through demo software, a twain driver, or oem custom application. the license to use the colour algorithm (embedded in the pc or mac driver software) is included in the price of the chipset. 1.1.3 webcam video over usb a video option is provided, when tethered through usb. it allows for video for microsoft windows ? applications, and video clips to be recorded while untethered by continuously capturing images in continuous mode. images are then downloaded to the pc for playback, using software to create an avi file. 1.1.4 audio features the stv0681 allows audio memos to be recorded at a sampling rate of 11khz. these sounds can be uploaded to the pc over usb or rs232 and played on the pc, or they can be replayed on the camera. with audio playback hardware fitted to the camera, it is possible to download a set of up to 20.wav file sound bites, to store in sdram, each of which can be linked to a particular camera function. this allows for camera theme music, custom sounds such as an imitation shutter click-whirr, or for certain functions to talk to the user, e.g. nice picture!. this has limitless possibilities for oem language customizing or licensed character cameras. downloading sounds is possible with the use of an oem application developed using the sdk, and a demonstration pc application with source code is available with the evk. sounds are stored in sdram and will therefore reduce the number of images/amount of audio which can be stored, stv0681 calculates the remaining memory and displays the number of images left. sounds can only be stored when untethered while battery power is maintained. 1.1.5 flashgun support the addition of an oem flashgun module increases the camera capabilities and improves low light image quality. stv0681 flashgun support includes modified exposure control, an enable input and a correctly timed trigger output. although it remains the responsibility of the oem to source a suitable flashgun module, advice on hardware interfacing, flash charge sensing and required flashgun energy are given in a separate flashgun application note (an1312), please contact st for details.
introduction stv0681 6/44 adcs 7283313c 1.1.6 delete last function an additional user interface function is available in stv0681 with either audio record or playback hardware fitted. with these, the user can delete the last image or continuous clip to be captured, or the last audio memo to be recorded. the standard clear all (cl) function remains, whether or not audio hardware is fitted. 1.1.7 backward compatibility with stv0680b stv0681 is electrically and functionally compatible with cameras designed for stv0680b, and uses the same pc/mac drivers, however the change of device pinout means that some pcb re-design will be required. precise design guidelines are available from st as a reference design (see chapter 10 ). a software development kit (sdk) for pc is available from st to interface to the camera and provide the basis to develop a custom software application for stills and/or video. it includes colour processing software. 1.2 key system features the key features of a typical camera based on the stv0681 chipset are listed here below. 1.2.1 image features l support for cif resolution sensor - 352 x 288 pixels l support for vga resolution sensor - 640 x 480 pixels l 80 picture storage capacity possible for cif, with 64mb memory l 26 picture storage capacity for vga, with 64mbit memory l a greater number of images can be stored when low resolution mode is enabled (e.g. 80 qcif images with 16mbit memory, 107 qvga images with 64mbit memory). see ta b l e 1 . l automatic anti-flicker exposure and gain control l support for flashgun. figure 1: typical camera system block diagram cmos sensor sensor data stv0681 usb interface 16mbit or 64mbit sdram lens + rs232 i/f usb i/f memory i/f rs232 interface gpio sensor i/f pwm led 4.5 - 6v battery e.g. 12mhz xtal audio dac lcd driver 2x7seg.lcd push transceiver piezo mode buzzer shutter 4-5v (nominal) supply from battery or usb 3-4 x aa, aaa, etc. power management circuit (discretes) detect low battery to pc to pc circuit (discretes) sensor clock ir filter VV6501 (vga) vv6411 (cif) image array audio pre-amp speaker microphone comparator buttons: /record oem flashgun enable/trigger module audio enable/trigger flashgun amplifier vreg 3v3 supply subject
adcs 7283313c 7/44 stv0681 introduction 1.2.2 user features on camera l self-timer mode allows a picture to be captured after several seconds. l twin 7 segment lcd panel supported - showing number of pictures left, and modes. l picture counter helps the user to know how much memory is left. l un-tethered continuous mode allows capture of image sequences for storage in memory and subsequent download to pc. l piezo buzzer indicates a number of useful events to the user, e.g. whether enough light is present for picture capture, etc. l led indicator . l clear all function clears camera. l low resolution mode increases number of images which can be captured by reducing image resolution. l audio record function (if audio record hardware detected) allows sounds to be recorded. l audio playback function (if audio playback hardware fitted) allows sounds which have been recorded to be played back. l delete last function allows user to delete audio memos, pictures or continuous clips, deletion must be carried out most reset first. l camera can be configured by the user to play custom sounds at certain functions, using a pc application. l go to sleep function, whereby the camera can be put into standby mode while untethered. 1.2.3 user features on pc software pc software allows a number of features such as fast download of thumbnail images for picture selection, and automatic detection and correction of sensor defects. the driver compatibility includes: l twain driver to suit all twain compatible imaging applications l video for microsoft windows ? pc driver for tethered video mode (through usb), available at all resolutions, with fastest framerates at qcif resolution l avi video file creation from image sequences captured in continuous mode l quicktime video driver and adobe photoshop stills plug-in for mac custom oem pc software can be developed by using the sdk (for sdk availability, contact st), to upload thumbnails/still images or continuous images, e.g. for avi file creation. the sdk (version 2.90 or later) allows: l the oem to write a custom application and upload sound memos based on the example lcdc demo software. l the oem to write a custom application and download custom sounds to the camera based on the example customsound software. 1.2.4 power management features and usb compliance l retention of pictures, recorded sounds and downloaded custom sounds with extremely low power operation. the camera seems to be switched off. l auto power-off after 30 seconds of non usage. l operates from 4.5-6v battery, although system voltage is 5v or 3.3v, dependant on sensor. l low battery detection.
introduction stv0681 8/44 adcs 7283313c l dependant on hardware configuration, switch-over to usb power supply is supported and the device can operate with low batteries or without batteries when connected to usb. l full usb compliance requirements are listed in the usb specification. however, in a camera designed using this chipset, the following must at least be included: (a) an sdram with sufficiently low self- refresh current, (b) usb inrush protection circuitry to maintain sufficient supply voltage to the 5v sensor. see section 7 for further details. 1.2.5 general features l high speed picture/sounds upload to pc/mac over usb l st colour processing algorithms included under license (as part of drivers/sdk) l usb or rs232 serial interface options, and vfw / twain driver support.
adcs 7283313c 9/44 stv0681 detailed features 2 detailed features 2.1 sensor type and image formats the sensor type is auto-detected by stv0681, the correct sensor timing is enabled and the correct image resolutions are enabled, as shown in table 1 . for stills photography, high or low resolution mode can be selected, to give cif or qcif pictures from a cif sensor, and vga or qvga from a vga sensor (see ta b l e 1 ). reduced resolution allows for storage of more images. images captured in both high and low resolution can be stored in camera memory at the same time. therefore there is no need to clear images stored in memory prior to changing image resolution. where usb is connected, the host pc software (through a video for microsoft windows ? driver) can activate tethered video mode, regardless of the user inputs to the camera buttons. in this case, the image resolution is controlled by the pc driver. note: when tethered vfw video (pc) or quicktime driver (mac) is activated, all images or recorded sounds or video clips are deleted from the camera sdram. a software solution is available (camera control, as part of the sdk for pc, and plugn save for mac) which can monitor whether a camera is connected and warns the user if activating the vfw driver causes sdram contents to be deleted. note: 1 vfw framerate is dependent on pc performance and usb bus loading 2 the number of images which can be stored is reduced if audio sounds have been recorded on the camera or if custom sounds have been downloaded from the pc to the camera. the reduction of capacity depends on the length of audio clip, but a rough guide is that if 1 cif image uses the same amount of sdram as 10sec of audio, and one vga image uses the same amount of sdram as 30 sec. of audio. 3 a cif camera with stv0681 and 64mbit sdram can store up to 320 images by using qcif mode. when more than 99 images are available, the lcd display remains at 99. when the number of available images is inferior to 99, the lcd display shows the number of available images like in all other modes. table 1: image modes supported sensor image size resolution mode final image size max. no. of images stored in 16mbit memory ( note 2 ) max. no. of images stored in 64mbit memory ( note 2 ) approximate vfw framerate ( note 1 ) cif 352 x 288 high cif 352 x 288 20 80 15 frames/sec. low qcif 176 x 144 (subsampled) 80 322 (see note 3 ) 22.5 frames/sec. vga 640 x 480 high vga 640 x 480 (6) 26 2 frames/sec. low qvga 320 x 240 (subsampled) (26) 107 (see note 3 ) 12 frames/sec.
detailed features stv0681 10/44 adcs 7283313c 2.1.1 ir filter for ir filter design, the best choice filter follows the gs0034 dielectric stack filter specification available from stmicroelectronics. an alternative, although not optimal filter, would be schott s8612 doped glass also sold as cm500. 2.2 user interface the user interface supported by stv0681 comprises of user controls, buzzer sounds or customized sounds and visual displays. 2.2.1 push buttons the following are the functions which are supported by the chipset. these functions are achievable with no more than 2 push buttons. 1 mode button (wake-up/switch between modes) this button allows the user (1.1) to wake the camera up from standby mode when the camera is to be used for taking pictures, or (1.2) to switch between modes of operation shown in chapter 3 . 2 shutter button (shutter/confirm action) this button allows the user to take a picture or confirm an action, as shown in chapter 3 the modes of operation are described in chapter 3 . it may also be desirable to include an on-off slider switch. the advantages and disadvantages as well as its exact function are discussed in the reference design available from stmicroelectronics. when a flashgun module is included in the camera, it is necessary to include a flash on/flash off push button or slider switch depending on the exact flashgun module design. possible implementations are discussed in a separate application note an1312 available from stmicroelectronics. 2.2.2 led indicator the led indicator displays the camera status when not in standby/pc suspend mode. 2.2.3 picture counter using 2 x 7 segment display stv0681 stores a picture counter value indicating how many images can still be captured. stv0681 supports a 2x7 segment lcd panel. in snapshot mode and continuous capture mode, this lcd panel displays the number of pictures still available. this is useful to identify when the user is approaching the maximum number of images which can be stored (see ta bl e 1 ). the user can clear the images stored in memory and continue taking pictures. in other modes, this lcd panel displays a 2-character code that helps the user to navigate around the modes. note: a cif camera with stv0681 and 64mbit sdram can store up to 320 images by using qcif mode. when more than 99 images are still available, the lcd display remains at 99. when the number of available images is inferior to 99, the lcd display shows how many images are available like in all other modes. for suitable numeric lcd panel types, see section 4.7 .
adcs 7283313c 11/44 stv0681 detailed features 2.2.4 piezo buzzer an on-chip pulse width modulator (pwm) generates buzzer sounds to signal certain events. the distinctive sounds are characteristic of the type of events indicated by the buzzer, as described here below. 1 camera has been woken up from standby mode (either by the user pressing a button, by re- connecting the power source, or by connecting a usb/rs232 connection). 2 camera has gone to sleep that is moved into standby mode. pictures are retained in memory. 3 picture was taken successfully once the user had pressed the capture button. 4 picture has not been taken when the user pressed the capture button because of insufficient light, or because the exposure control was not ready following a rapid change of lighting in the scene. 5 picture has not been taken when the user pressed the capture button because the picture counter had reached the maximum number of images. the user has the chance to reset the counter if desired. 6 end of continuous capture in un-tethered continuous mode due to full memory. 7 self-timer activated, count down has started. 2.2.5 custom sounds a camera which includes stv0681 and audio playback hardware can have a set of custom sounds downloaded from a pc application. a different sound can be associated with each of the following functions: table 2: list of custom sound functions power on power off good picture bad picture (normally due to insufficient light) memory full self timer #1 self timer #2 low resolution high resolution picture delete sound delete continuous clip delete clear memory confirm action low power flashgun on flashgun off flashgun trigger
detailed features stv0681 12/44 adcs 7283313c note: 1 when a sound is associated to a given function, and it is stored in sdram, the piezo buzzer does not give any beeps for that function. not all functions need to have custom sounds associated with them, this is the choice of the user or oem. 2 a demonstration pc application customsounds is available from st, however this is not intended for end-users. source code is available which allows the oem to build their own pc application using the sdk. 2.3 battery level detect and usb auto-switch an on-chip battery level detector on stv0681 detects when the battery voltage falls below a threshold. the chosen threshold level is determined by a resistor value, as shown in chapter 7 . where no usb has been detected, the lcd display flashes, indicating that the battery is low. when a usb connection has been detected, the lcd display does not flash. note: it may be a requirement of certain usb compliance tests that such additional hardware is included in the camera design, in order to enable the camera to switch to supply from usb and hence report back to the pc while connected to the usb bus without a battery. 2.4 audio record and playback 2.4.1 record a camera including the stv0681 with a microphone, a comparator and other periphery (also using the sensor pre-amplifier) can record sounds stored like images. stv0681 auto-detects the presence of audio record hardware and includes audio record and delete last functions into the user interface. the audio sample rate is 11.025 khz, the signal is digitized using a successive approximation a-d converter with 8 bits resolution. the sdram stores 1 second of audio recording per 11 kbyte of memory. 2.4.2 playback a camera including the stv0681 with an amplifier, a speaker/headphone socket and other periphery can playback sounds either recorded on the camera or downloaded from the pc. the quality of audio playback is largely dependant on the type of speaker used, and on the correct mounting of the speaker in the camera plastics. frequency 50khz frequency 60khz table 2: list of custom sound functions
adcs 7283313c 13/44 stv0681 detailed features 2.5 pc interface options and software support usb interface (full speed 12mbit per second maximum) and rs232 interface (115.2kbaud) are supported by the chipset, with driver software available from stmicroelectronics for both. the interface type is auto-detected by the chipset. pc software can be one of the following: 1 simple image upload demonstration software supplied by st, allowing uploading of stills or continuous images. this software should not be supplied as an end-user product. 2 twain driver to suit all twain compatible imaging applications, 3 video for microsoft windows ? driver for tethered video mode (usb only), 4 custom end-user software developed by oem using sdk (for sdk availability, contact st). the sdk is supplied by st as a 32-bit dll format, running on microsoft windows ? 98, and accessed through a documented software interface. this provides the basis for developing a custom software application for uploading stills and/or video. 2.5.1 usb complete images (displayed as either thumbnails or in full resolution), or the entire sdram contents (e.g. for uploading continuously captured image sequences, recorded using continuous capture mode) can be downloaded through usb, and usb connection also allows for tethered video mode to be activated by the usb driver. thumbnail image download is extremely fast for the entire memory contents in the camera. once a picture is selected for download, full image download takes approximately 0.15 second per image for a cif image (0.6 second for a vga image), plus post processing time per image. for usb interface details, see section 4.3 . note: actual usb download and post processing time also depends on pc performance and usb bus loading 2.5.2 rs232 thumbnails of images, complete stored images, or the entire sdram contents can be downloaded through rs232, but tethered video is not supported. once a picture is selected for download, full image download takes approximately 10 seconds per image for a cif image (around 30 seconds for a vga image), plus post processing time per image (of the order of 1 second approximately). for rs232 interface details, see section 4.4 . note: actual post processing time after rs232 download also depends on pc performance
detailed features stv0681 14/44 adcs 7283313c 2.6 anti-flicker exposure and gain control 2.6.1 general the chipset operates automatic exposure and gain control for either 50hz or 60hz mains-driven indoor lighting, using the same 12mhz crystal. this improves picture quality by selecting a set of exposure values which minimize flicker effects. detection of the mains frequency is dependant on the status of the gpio3 pin, which can be achieved by population of a pcb link at a late stage in production, once the country of destination is known, without the need to change the crystal frequency. the auto exposure and gain algorithm is always enabled during snapshot/self-timer/continuous mode. when the shutter button is pressed in snapshot mode, the chipset captures an image if the exposure and gain values are suitable for the current scene. if the light has suddenly changed, the camera may emit an audible tone to indicate that more time is required to reach the correct exposure target. in snapshot mode the chipset only captures the image data if sufficient light is present in the image. in continuous capture mode, the chipset captures images regardless of whether enough light is present. the exposure control algorithm in stv0681 chooses exposure values which minimize flicker effects from occurring under fluorescent lighting. stv0681 can only prevent flicker in lighting powered by 50hz or 60hz electricity supply, but automatic detection of the flicker frequency is not possible. hence choosing the correct anti-flicker setting is important, in order to prevent dark stripes from appearing across the image, and this selection must be done in hardware. 2.6.2 flashgun exposure when the stv0681 and a flashgun module are included in the camera, and the flashgun enable signal is high, the exposure mode operates in a different manner. the cmos sensor progressive scan readout requires that the sensor is set to maximum exposure so that all lines are exposed. the flashgun operates during a few 100 s in order to correctly expose all sensor lines, (contact st for more precise details), therefore the flashgun module design should have reached maximum light output within this period after the falling edge of the flash trigger output from stv0681. possible flashgun implementations, regarding hardware interface, charge sensing, and flash energy required are discussed in a separate application note an1312 available from stmicroelectronics. figure 2: illustration of flicker problem flicker setting not correct flicker setting correct
adcs 7283313c 15/44 stv0681 camera modes of operation 3 camera modes of operation this section refers to the two switches as discussed in section section 2.2.1 l mode: connects gpio0 pin of stv0681 to gnd when pressed l shutter: connects gpio1 pin of stv0681 to gnd when pressed pressing the mode switch repeatedly cycles through a series of modes as displayed on the lcd. when a given mode is displayed it may be selected by pressing the shutter button. if an option is not selected within 5 seconds, the display reverts to showing the number of available pictures. 3.1 modes available figure 3: stv0681 modes (cif camera with 16mbit sdram assumed) normal: 20 / 80 audio record: ar audio playback: ap delete last: da / dp / dc continuous capture: ct self-timer: st clear all: cl resolution: hr / lr notes: 1. audio record only available if audio hardware is fitted 2. audio playback only available once an audio clip has been recorded 3. delete last displays (only available if audio hardware fitted) da - if the last object is an audio clip dp - if the last object is a picture dc - if the last object is a continuous capture clip themodeisinhibitedifthecameraisempty. 4. continuous capture mode is inhibited when the flashgun is enabled (sw6 down) press mode button after 30sec of inactivity standby mode (untethered)
camera modes of operation stv0681 16/44 adcs 7283313c 3.2 description of modes 3.2.1 standby mode (untethered) and wake-up on power-up, or wake-up from untethered standby mode, (i.e. by pressing the mode button), the camera beeps twice. the lcd briefly indicates the camera resolution either hr. for high resolution (80 cif or 26 vga images - using 64mbit memory) or lr for low resolution (322 qcif or 107 vga images - using 64mbit memory) and then displays the number of pictures which may be taken. please note that in low resolution mode, although there can be up to 322 images available, the lcd counter only goes up to 99, it reports 99 until there are less than 99 images left. the camera goes back to standby mode after 30 seconds of inactivity, led1 turns off and the lcd goes blank. this is also achieved by pressing the mode switch during more than 2 seconds. 3.2.2 normal mode press the shutter button to take a picture. the camera beeps. a high pitched beep indicates that the picture was taken successfully and the counter decrements (if there are less than 99 images left to take). a low beep indicates insufficient light to take a picture. a series of beeps indicates that the camera is full. stored pictures can be uploaded to a pc at any time, whether or not the camera is full. plugging the usb connector into the camera causes it to reset and issues a double beep but all stored pictures remain. when the usb connector is unplugged the camera goes to sleep. when connected to the pc, the camera can still be used in the normal way. note: when flashgun is enabled, the camera always takes a picture, with or without sufficient light. 3.2.3 audio record - ar this mode is available with audio record hardware fitted. pressing the shutter button within 5 seconds causes the camera to start recording for as long as the shutter button is pressed down. if the shutter button is not pressed within 5 seconds, the camera reverts to normal picture taking mode. whilst recording, the lcd display flashes ar. if the recording stops because the memory is full, the memory full audio tone is sounded and the display stops flashing and displays 00. the audio data is digitized and stored in sdram. 3.2.4 audio playback - ap this mode is available with audio playback hardware fitted. pressing the shutter button within 5 seconds causes the camera to play back the most recent audio recording. if the shutter button is not pressed within 5 seconds the camera reverts to normal picture taking mode. whilst playing, the lcd display flashes ap. once in audio playback mode, repeated presses of the shutter button steps the camera through each of the audio recordings in the camera (most recent first). keeping the shutter button pressed down also allows to cycle through the audio recordings. pressing the mode button during playback stops the audio clip. note: minimum audio recording length is set to 0.5 seconds.
adcs 7283313c 17/44 stv0681 camera modes of operation 3.2.5 delete last object - da/dp/dc this mode is available with audio record hardware fitted. if the last object captured was an audio recording, 'da' (delete audio) is displayed, if the last object was an image, then 'dp' (delete picture) is displayed, or, if the last object was part of a continuous capture sequence, then 'dc' (delete continuous) is displayed. if the camera is empty, the mode is suppressed. the mode works like cl (clear all), that is once the mode is selected, pressing the shutter button once causes the camera to beep and da, dp or dc to start flashing. pressing the shutter button again within 5 seconds deletes the last audio clip, picture or continuous capture sequence. 3.2.6 continuous mode - ct pressing the shutter button within 5 seconds causes the camera to start taking pictures for as long as the shutter button is pressed down (and the camera is not full). if the shutter button is not pressed within 5 seconds the camera reverts to normal picture taking mode. note: 1 in continuous mode, the camera allows pictures to be taken regardless of the available light, which could result in insufficient exposure. 2 in continuous mode, only every alternate field is grabbed hence capture rate is halved. for example, 12.5fps cif and 7.5fps vga 3 continuous mode is suppressed when the flashgun enable signal (gpio2) is high. 3.2.7 self timer - st pressing the shutter button starts a 10-second self-timer. the camera issues a short beep every second, followed by a longer beep. a further beep will then indicate that the picture has been taken (high beep - picture successful, low beep - insufficient light, picture not taken). the self-timer mode cannot be selected when the camera is full. the self-timer count down cannot be stopped once it has started. 3.2.8 clearing the camera memory - cl pressing the shutter button once causes the camera to beep and the cl to start flashing. pressing the shutter button again within 5 seconds clears all the images/audio clips in the camera and resets the counter. 3.2.9 changing picture resolution - hr/lr the resolution option is displayed, either hr to change to high-resolution mode (if currently in low- resolution mode) or lr to change to low-resolution (if currently in high-resolution mode). press the shutter button within 5 seconds to select the resolution option, the camera beeps and the display is reset, indicating the number of pictures available in the new mode. the picture resolution can be changed at any time, that is the camera can store both high and low resolution images.
stv0681 hardware interfaces stv0681 18/44 adcs 7283313c 4 stv0681 hardware interfaces 4.1 sensor interface stv0681 uses a standard st digital interface from the sensor, and the sensor clock input is provided by an output from stv0681. the design of a camera using this chipset should be implemented as closely as possible to the reference design ( chapter 7 ), in which case the chipset can be regarded as a functional black box, and no further details regarding the stv0681-sensor interface are required. 4.2 memory interface stv0681 is designed to interface to an external 16mbit or 64mbit sdram (see ta b l e 1 ). the sdram device must have a 16 bit wide data bus and operate from a 3.3v supply. two sizes of sdram memory are supported by stv0681, 16mbits (1m x 16 bits wide) or 64mbits (4m x 16 bits wide), the memory size is auto-detected by stv0681. stv0681 clocks the sdram at 6mhz, typically this is well below the figures offered by most manufacturers devices. 4.2.1 sdram current consumption for maximum system battery life while no pictures are being taken, and to meet requirements for usb compliance, an sdram should be chosen with the lowest possible self refresh current specification. in addition, the usb suspend mode current specification requires that the camera consumes less than 300 m a when un-tethered. meeting this specification, which is included in the requirements for usb compliance, assumes an sdram with up to approximately 250 m a self-refresh current, based on a current consumption of approximately 50 m a for stv0681 + support circuit.
adcs 7283313c 19/44 stv0681 stv0681 hardware interfaces 4.2.2 sdram interface timing requirements figure 4: sdram read timing (16mbit device, burst read) dclk command dqm a0-9,ba a10 active read nop precharge nop row column row dout m dout m + 1 dout m + 2 dout m + 3 dq read latency t ck t rcd t rc cke t ras dq sample dq sample dq sample dq sample t rp t cms t cmh t as t ah t l t h t cms t cmh t ac t oh
stv0681 hardware interfaces stv0681 20/44 adcs 7283313c 4.2.3 sdram refresh period the sdram refresh period from stv0681 is guaranteed to be inferior or equal to 15.6 m s during snapshot/self-timer/continuous/tethered video modes of operation (that is not standby mode). in standby mode, the sdram is set to self-refresh, therefore no refresh from stv0681 takes place. 4.2.4 sdram initialisation period the sdram initialisation period is currently set to 981 m s in stv0681. figure 5: sdram write timing (16mbit device, burst write) table 3: timing parameters for sdram read/write symbol min. max units symbol min. max units t ck 166.45 166.89 ns t ds 81.01 ns t ch ?t ck t dh 83.41 ns t cl ?t ck t rcd 1t ck t ac ?t ck t ras 55t ck t oh 0nst rc 7t ck t cms 82.88 ns t rp 2t ck t cmh 82.85 ns t rcd 1t ck t as 82.88 ns t ah 82.76 ns dclk command dqm a0-9,ba a10 active write nop precharge nop row column row din m din m + 1 din m + 2 din m + 3 dq t ck t rcd t rc cke t ras t rp t cms t cmh t as t ah t l t h t cms t cmh t ds t dh
adcs 7283313c 21/44 stv0681 stv0681 hardware interfaces 4.3 usb interface stv0681 includes a usb version 1.1 compliant universal serial bus interface, including a transceiver. this allows direct connection from stv0681 to a usb connector with minimal additional hardware (that is a small number of passive discretes) - see chapter 7 the usb interface interfaces the stv0681 to the usb at full speed 12mhz data rate. some of the features are: l compliant with usb protocol revision 1.1. l usb protocol handling. l usb device state handling. l clock and data recovery from usb. l bit stripping and bit stuffing functions. l crc5 checking, crc16 generation and checking. l serial to parallel conversion. l single bulk-end point. usb drivers are supplied by st. for usb timing information, please refer to the usb specification v1.1.
stv0681 hardware interfaces stv0681 22/44 adcs 7283313c 4.4 uart module for rs232 interface the uart module on stv0681 provides a 115200 baud full duplex serial interface to an external host. 4.4.1 rs232 physical interface stv0681 does not support direct connection to a rs232 serial link. physical line driver circuitry is required, e.g. using a standard rs232 transceiver chip, or by using a small number of low cost discretes (refer to reference design for details). unscreened cable can be used, a suitable low cost connector is a 3.5mm stereo audio jack plug. 4.4.2 uart module overview receiving data the uart module in stv0681 receives serial data through the rxd pin. data reception is initiated by a 1-to-0 transition on rxd, and the received data is sampled every 8.66 m s. if the rxd input is not 0 when the incoming data is first sampled, the uart module goes back to look for another 1-to-0 transition. this is to provide rejection of false start bits. if the start bit proves valid, reception of the rest of the frame proceeds. transmitting data when a transmission is activated by stv0681, the contents of an internal transmit shift register are shifted onto the txd pin, every 8.66 m s. the uart operates at 12mhz, which is not an integer multiple of 115200, so the actual baud rate is 115232 +/- 0.3%, which is well within the requirements of a typical 16x oversampling uart, which can tolerate a 3.75% error in baud rate.
adcs 7283313c 23/44 stv0681 stv0681 hardware interfaces 4.5 power management and battery type stv0681 and the sdram require a 3.3v supply. when a vv6411 or VV6501 (3.3v) sensor is used, a single voltage regulator can regulate the supply for all three components from the battery, or the sensor on-board vreg can be used. these are explained more fully in the reference design. 4.5.1 power switching to usb included in the usb compliance requirements, is the ability of the camera to report to the pc when connected to the usb bus, whether or not there is a fresh battery in the camera. this means that power sourcing from usb is required, which also saves on battery life while the camera is used in usb tethered video mode. in order to allow switching from battery to usb power, some additional hardware is required. l the usbdetect input to stv0681 is used to detect that a usb power supply is connected l if the usb is detected, additional hardware is used to switch off the battery l an inrush protection circuit can protect the usb bus from current draw in the case of a low battery/ battery not fitted. this may be necessary to comply with the usb specification. for precise usb compliance requirements, please consult the usb specification version 1.1. 4.5.2 switched sensor supply dependant on the hardware implementation, the senspwr output from stv0681 is used to put the sensor into suspend mode. this has a significant improvement on battery life. 4.5.3 battery type it is possible to use various battery types and configurations. the evaluation kit uses four 1.5v aaa cells.
stv0681 hardware interfaces stv0681 24/44 adcs 7283313c 4.6 quartz crystal regardless of the sensor type or anti-flicker requirements, the sensor + stv0681 chipset operates from a single 12mhz fundamental quartz crystal. for specification requirements, see table 13 . stv0681 includes an on-chip low jitter pll. for pll characteristics, see ta b l e 1 2 . 4.7 numeric lcd interface stv0681 supports a 2-digit lcd panel only, for alpha-numeric display. 4.7.1 lcd types stv0681 connects to a non multiplexed, direct drive lcd with 2 x 7 segments. many lcd types are compatible with this interface. the lcd refresh frequency is 34.7hz . 4.7.2 lcd interface pinout the convention for segment numbering is as follows: '0' connects to segment 'a', '1' connects to segment 'b', and so on, where a to g are standard for all 7-segment displays, as well as an lcd common output, giving fifteen signals in total.
adcs 7283313c 25/44 stv0681 stv0681 hardware interfaces 4.8 switches and leds the gpio lines on stv0681 have the following pre-defined functions, see section 2.2 for user interface functionality. mode push button and shutter push button: gpio0 and gpio1: both push button inputs have internal de-bounce circuits, reducing the amount of hardware required externally. it is recommended that labelling is used on the camera casing to help the user understand the functioning of the 2-button interface. 4.8.1 input to select between 50 and 60hz flicker frequency: gpio3 this allows for factory setting of the anti-flicker frequency, dependant on the final country of destination. see also section 2.6 . the polarity of this selection is detailed in the reference design. 4.8.2 led indicator output: gpio5 the led output has an 8ma current sinking capability. 4.8.3 other pins: gpio2, 4, 6, 7 with stv0681, these pins are used, as detailed in ta b l e 4 . their specific functions are detailed in the reference design and in the following documents available from st: l audio: application note an1310 l flashgun: application note an1312 4.8.4 audio record hardware interface stv0681 implements the a/d conversion by outputting successive analogue levels (successive approximation) through the dac output, which are compared with the actual signal level (output from the sensor microphone preamplifier), and the resulting high or low signal from the comparator is read at gpio4. the sampling frequency is 11khz, and the successive approximation is done at 8 bits resolution per sample. it is not possible to speed up the sampling frequency due to the limitation of stv0681 processing speed. an actual hardware implementation is given in the audio application note an1310. 4.8.5 audio playback hardware interface stv0681 outputs the desired signal level through the dac output, which is amplified to the speaker or headphone socket. gpio6 is used to switch off the amplifier during periods of audio recording, to prevent the successive approximation waveform from being heard during periods of recording, and to reduce the power consumption and unwanted crackle through the speaker. an actual hardware implementation is given in the audio application note an1310. table 4: other gpio usage with stv0681 gpio 2 4 6 7 audio record no yes no no audio playback no no yes no flashgun yes no no yes
stv0681 hardware interfaces stv0681 26/44 adcs 7283313c 4.9 flashgun hardware interface stv0681 will revert to flashgun exposure when it detects gpio2 is high. ideally the hardware should combine the two factors of (a) user intention (e.g. user switches on flashgun) and (b) charge sensing (i.e. flash is charged up and ready to fire). these two factors (a) and (b) are independent, since there may be a delay of several seconds between switching on the flashgun charger, and the flashgun being able to fire. to revert to flashgun exposure before the flashgun is completely charged up would cause very bad pictures to be taken in low light conditions because there is no low light threshold when flashgun exposure is enabled, since the camera expects a flash to fire. a suggested flashgun hardware interface is given in the flashgun application note an1312. when flashgun exposure is enabled and the shutter button is pressed, a picture is taken and the flash trigger pin gpio7 is pulsed low at the correct point in time so that all lines of the cmos imager are exposed. 4.10 ir filter an infra-red blocking filter is required to achieve correct colour response. the exact specification for the ir filter characteristics are given in the reference design manual.
adcs 7283313c 27/44 stv0681 customising the stv0681 5 customising the stv0681 the firmware inside the stv0681 is stored in rom and may not be changed. it is possible, however, to use an external serial eeprom to store certain information to allow a degree of customization of the device. the stv0681 reports a usb vendor id (vid) of 0553(hex) and a product id (pid) of 0202 (hex). alternative values for the vid and pid as well as manufacturer and product strings may be stored in an external eeprom. in addition to usb descriptor information, the eeprom may also be used to set various other parameters as follows: l auto power-down time: this is the length of time before the stv0681 shuts down after no activity. l mode button power-down time: the length of time you must hold the mode button to powerdown the system. l 50hz/60hz flicker-free selection: the eeprom allows this selection to be via a gpio pin on the stv0681 or fixed at either 50hz or 60hz l number of self-timer beeps 5.1 external eeprom an external 128byte serial eeprom may be used in conjunction with stv0681 to hold customer specific information. the eeprom is connected onto the sensor iic bus and must be set to iic address a0 (hex). the eeprom is auto-detected by the stv0681 and no additional changes need to be made. a suitable eeprom device is manufactured by stmicroelectronics part number m24c01w (alternatives are available from other suppliers).
customising the stv0681 stv0681 28/44 adcs 7283313c 5.2 eeprom data format 5.3 programming the eeprom there is no facility to program the eeprom using the stv0681 itself and so the device must be programmed before fitting it to the pcb. location(decimal) contents 0 leave blank 1 vidlo, the low byte of the vendor id 2 vidhi, the high byte of the vendor id 3 pidlo, the low byte of the product id 4 pidhi, the high byte of the product id 5 max power (in units of 0.5ma) 6 max power with audio playback enabled (in units of 0.5ma) 7 auto powerdown time hi byte (in units of 256ms) 8 auto powerdown time lo byte (in units of 10ms) 9 mode button press time hi byte (in units of 256ms) 10 mode button presss time lo byte (in units of 10ms) 11 50hz/60hz flicker free selection 0 = board link (gpio3) , 1 = 50hz, 2 = 60hz 12 number of self-timer beeps 13 checksum - low byte of sum of eeprom locations 1 to 12 inclusive. 20 length of manufacturer string 21-54 (max) manufacturer string (ascii codes) 55 length of product string 56-89 (max) product string (ascii codes) 90 length of interface0 string 91-127 (max) interface 0 string (ascii codes)
adcs 7283313c 29/44 stv0681 software support 6 software support 6.1 general features the chipset is a dual-mode camera, i.e. stills and video, and is supported by a range of demonstration software, standard drivers, and software development options. pc driver software is available to support both usb and rs232 interfaces. drivers are available for twain, wia, video for windows (vfw) and directshow (ds) depending on the operating system as listed below: l win98/win98se/winme C vfw and twain l win2k C ds, vfw and twain l winxp C ds, vfw, wia and twain mac quicktime drivers and a photoshop stills plug in for macos 8.6/9.0/9.1/9.2 are supported. the driver will also run under macos x in classic mode. example software applications (pc only) are provided to create. avi video files from untethered continuous capture of images (avicreator), to upload still images and recorded sounds (lcdcdemo) and to download.wav files from the pc to the camera (customsound). in each case, pc source code is provided to assist in oem software development using the sdk. st colour processing and defect detection/correction software runs on the host and is supplied under licence agreement as part of all host software/drivers/sdk 6.1.1 still image upload this is available through demonstration software, oem custom software, or using standard twain applications. features include: l fast upload through usb, or upload through rs232. l colour display of image thumbnails for picture selection. l download of full image once selected by user software. l automatic detection and correction of sensor defects l colour processing of full image, using the st colour process the above features also apply to avi creator or any oem custom software for avi video creation at part of pictures taken while un-tethered, since this is essentially a stills function. 6.1.2 streaming video (only while tethered to usb) this is available through demonstration software, or using standard vfw applications. features include: l streaming video through standard vfw driver l automatic detection and correction of sensor defects l colour processing of full image, using the st colour process
software support stv0681 30/44 adcs 7283313c 6.2 software installation the following software support is only available to oems. access to the latest installation files is possible through a password-protected web page, contact st for details. the installation files are for the following: l drivers (always check the web site for latest driver version). l evk software, i.e. lcdcdemo.exe and avicreator.exe, g2video.exe, and ctitest2.exe l sdk installation: source code for sample applications, and documentation 6.2.1 driver support available 6.2.2 evk software note: the following is also supplied with evaluation kits/demonstration units, but all the following software is only for demonstration purposes and should not be supplied as an end-user product. however, application-level source code (i.e. not driver/colour processing source) for lcdcdemo.exe, avi creator, and ctitest.exe is available as part of the sdk, which allows similar applications to be built by the software developer: 1 simple demonstration software lcdcdemo.exe for uploading thumbnails and images. 2 avicreator.exe software for uploading continuous images for creating movie clips. 3 g2video.exe is a vfw application which shows streaming video while tethered to usb and allows creation of.avi video clips. 4 ctitest.exe is only for debugging purposes, for software developers using the sdk 6.2.3 software development kit (sdk) and source code a software development kit allows the oem to develop a custom application which calls the same range of drivers as listed in section 6.2.1 , hence allowing the oem application to perform picture download, thumbnail display, and colour processing using the st colour process. inclusion of source code for the applications listed in section 6.2.2 allows the software developer to use these as the basis for their own application. the sdk is supplied by st as a 32-bit dll format, running on microsoft windows 98/win2k tm , and accessed through a documented software interface. development requires microsoft visual studio version 6 or later. this provides the basis for developing a custom software application for stills. note: source code for pc drivers, defect correction and colour processing algorithms are not available. table 5: driver choices interface type: rs232 usb pc operating system microsoft windows ?: win9x, winnt4, win2k, windows millennium windows xp microsoft windows ?: win98 and win2k only, windows millenium windows xp mac os n/a 8.6, 9.0, 9.1, 9.2
adcs 7283313c 31/44 stv0681 detailed chipset specifications 7 detailed chipset specifications 7.1 typical camera specifications the following data assumes that the camera has been built according to the st reference design. dual usb or battery power supply is only possible when the required power switching hardware is included. figures are approximate and depend on actual components sources. 7.2 absolute maximum ratings table 6: typical camera specifications supply voltage 4.1-6v (when powered from battery or usb) operating temperature range 0 o c - 40 o c max. rs232 cable length supported 2m cif output 352 x 288 pixels qcif output 176 x 144 pixels vga output 640 x 480 pixels qvga output 320 x 240 pixels sdram storage and image upload format raw bayer pc driver output format colour rgb bitmap table 7: approximate shutter speeds sensor resolution min. max cif 8 m s44ms vga 8 s 66 ms table 8: stv0681 absolute maximum ratings parameter range units ambient temperature 0 to 40 c storage temperature -50 to 150 c voltage on usb d+/d- 0-vdd v
detailed chipset specifications stv0681 32/44 adcs 7283313c 7.3 stv0681 specifications 7.4 usb specifications note: 1 v di = |(d+) - (d-)| 2v cm includes v di range. 3tf rfm =(tf r / tf f ). 4z drv includes an external resistor of 20 ohms serial to this transceiver. table 9: stv0681 specifications parameter min. typ. max. units supply voltage 3.0 3.3 3.6 v current consumption (normal operation) 18 - ma stand-by current consumption - 10 - a package 100tqfp (14x14x1.4) exposure control 1 000 000: 1 table 10: stv0681 usb specifications parameter description min. typ. max. units notes vdd power supply 3.0 3.3 3.6 v v ilu usb differential pad d+/d- input low 0.8 v v ihu usb differential pad d+/d- input high (driven) 2.0 v v ihuz usb differential pad d+/d- input high (floating) 2.7 3.6 v v di usb differential pad d+/d- input sensitivity 0.2 v 1 v cm usb differential pad d+/d- common mode voltage 0.8 2.5 v 2 v olu usb differential pad d+/d- output low voltage 0.0 0.3 v v ohu usb differential pad d+/d- output high voltage 2.8 3.6 v v crs usb differential pad d+/d- output signal cross over voltage 1.51 1.79 v r pu usb differential pad d+/d- pull up resistor 1.425 1.575 k w r pd usb differential pad d+/d- pull-down resistor 14.25 15.75 k w tf r rise time 4 20 ns tf f fall time 4 20 ns tf rfm differential rise time and fall time matching 96 98 % note 3 z drv driver output resistance 24.7 26.6 30.0 w note 4
adcs 7283313c 33/44 stv0681 detailed chipset specifications 7.5 dc characteristics 7.6 pll characteristics 7.7 crystal tolerance table 11: stv0681 dc characteristics parameter description min. typ. max. units v ii cmos input low voltage 0.35 vdd v v ih cmos input high voltage 0.65 vdd v v t+ cmos schmitt input low to high threshold voltage 2.15 v v t- cmos schmitt input high to low threshold voltage 1.05 v v t threshold point 1.65 v v oh output high voltage 2.4 v v ol output low voltage 0.4 v table 12: stv0681 pll characteristics parameter conditions symbol min. typ. max. unit peak to peak jitters @vcofreq = 240mhz - 312mhz -- -- -- 500 ps duty cycle -- 45 50 55 % operating voltage range vdd 3 3.3 3.6 v input low voltage vdd=3.3v vil - 0.8 v input high voltage vdd=3.3v vih 0.7vdd vdd v pull in time + locking time ready -- -- 0.1 ms output slew rate cl: output load (pf) tsr(fout) -- 0.100+0.1082*cl -- ns table 13: stv0681 crystal tolerance parameter min. typ. max. units crystal specification 50/50/10/30 (12mhz fundamental) crystal frequency 12.000 mhz frequency tolerance 50 ppm temperature stability 50 ppm operating temperature -10 c
detailed chipset specifications stv0681 34/44 adcs 7283313c 7.8 typical current consumption of complete camera the following data assumes that the camera has been built according to reference design referred to in chapter 10 . figures are approximate and depend on actual components sources - see notes. the sensor operates at @ 3.3v dc note: 1 see ta b l e 9 from section 7.3 2 from limited evaluation, typical self-refresh current figures of certain sdram chips are well below manufacturers maximum specification, e.g. 100-250 m a . 3 option included in reference design to save current consumption, which can increase battery life and increase chances of meeting usb suspend mode compliance requirements. table 14: current consumption, complete stv0681+vv6411/6501 camera mode typical comments snapshot/continuous/ self timer mode (while un-tethered) 60ma assuming appropriate hardware included, power is sourced from pc while usb connected. snapshot/continuous/ self timer mode (while tethered to pc) 60ma while playing back audio sounds through speaker 90ma assuming 8 w speaker as explained in application note an1310 standby mode (when not connected to usb) approx. 270a + sdram self-refresh current (see note 2 ) + sensor suspend mode current total current in this mode equals : stv0681 standby current consumption (see note 1 ) + sdram self-refresh current (see note 2 ) + peripheral circuitry (approx. 50 m a). + sensor suspend mode current pc suspend mode (when connected to usb): sensor suspend pin asserted approx. 300a + sdram self-refresh current (see note 2 ) + sensor suspend mode current total current in this mode equals : stv0681 standby current consumption (see note 1 ) +sdram self-refresh current (see note 2 ) + peripheral circuitry (approx. 50 m a) + 200 m a, based on 1.5k pull-up in camera and 15k pull- down in pc. + sensor suspend mode current standby mode (when not connected to usb): sensor powered off using fet (see note 3 ) approx. 270a + sdram self-refresh current (see note 2 ) total current in this mode equals : stv0681 standby current consumption (see note 1 ) +sdram self-refresh current (see note 2 ) + peripheral circuitry (approx. 50 m a). pc suspend mode (when connected to usb): sensor powered off using fet (see note 3 ) approx. 100a + sdram self-refresh current (see note 2 ) total current in this mode equals : stv0681 standby current consumption (see note 1 ) +sdram self-refresh current (see note 2 ) + peripheral circuitry (approx. 50 m a).
adcs 7283313c 35/44 stv0681 stv0681 pin description 8 stv0681 pin description 8.1 stv0681 pinout figure 6: stv0681 pinout diagram 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 stv0681 tqfp100 dq_15 dq_1 dq_14 dq_2 dq_13 dq_3 dq_12 dq_4 dq_11 dq_5 vdd vss dq_10 dq_6 dq_9 dq_7 dq_8 dqml we dqmu cas dclk ras cke cs reset xout xin test2 test1 test0 usb- usb+ usb_det ad_4 ad_3 vdd vss ad_5 ad_2 ad_6 ad_1 ad_7 ad_0 ad_8 ad_10 ad_9 ad_13 ad_11 ad_12 mode shutter flash_en 50/60 comp_out vss vdd led amp_en fl_trig senspwr sensrst sens_clk qclk sd[0] sd[1] sd[2] sd[3] sda scl rxd txd pll_gvss pll_avss pll_avdd aud_vss lo_bat_ref lo_bat dacres dacout aud_vdd piezo lcd_com vss vdd lcd2_6 lcd2_5 lcd2_4 lcd2_3 lcd2_2 lcd2_1 lcd2_0 lcd1_6 lcd1_5 lcd1_4 lcd1_3 lcd1_2 lcd1_1 lcd1_0 dq_0
stv0681 pin description stv0681 36/44 adcs 7283313c 8.2 stv0681 pin description table 15: stv0681 pin listing pin no. signal type description drive sensor interface 65 senspwr output, active high power-up sensor 2ma (sl) 64 sensrst output, active low reset sensor 2ma (sl) 56 scl input/output (od,t) sensor serial interface 4ma (sl) 57 sda input/output (od,t) sensor serial interface 4ma (sl) 58 sd[3] input (s,t) sensor data 59 sd[2] input (s,t) sensor data 60 sd[1] input (s,t) sensor data 61 sd[0] input (s,t) sensor data 62 qclk input (s,t) qualification clock from sensor 63 sens_clk output clock output to sensor 4ma i/o and camera control pins 75 mode debounced input push button (wake-up/mode) 74 shutter debounced input push button (shutter/confirm) 73 flash_en input enable flash exposure (active high) 72 50/60_sel input s elect between 50hz and 60hz lighting 71 comp_out input output from audio comparator 68 led output (od) led indicator 8ma (sl) 67 amp_enable output, active low (od) audio amplifier enable 8ma (sl) 66 fl_trig output, active low (od) flashgun trigger 8ma (sl) usb interface 42 usbdet input (s) detect power source from usb. (for camera with rs232 only, this pin should be tied to gnd) usb specific ation v1.1 complia nt i/o 43 data+ input/output usb bus (for camera with rs232 only, this pin should be connected to test points to allow for usb production test (lens focussing)) 44 data- input/output usb bus. (for camera with rs232 only, this pin should be connected to test points to allow for usb production test (lens focussing))
adcs 7283313c 37/44 stv0681 stv0681 pin description rs232 interface 54 txd output serial data transmit (for camera with usb only, this pin should be tied to rxd) 4ma (sl) 55 rxd input (s) serial data receive (for camera with usb only, this pin should be tied to txd) stv0680b master clocks and reset 48 xin input quartz crystal in 49 xout output quartz crystal out 50 reset input (s) active (low) stv0680b reset system memory (sdram) interface 20 dqmu output data input/output mask for dram_dq[15:8] 2ma (sl) 22 dclk output clock: all sdram input signals are sampled on the positive edge 4ma (sl) 24 cke output clock enable: activates (high) and deactivates (low) the sdram clk signal 2ma (sl) 32 ad0 output sdram address a0 2ma (sl) 34 ad1 output sdram address a1 2ma (sl) 36 ad2 output sdram address a2 2ma (sl) 40 ad3 output sdram address a3 2ma (sl) 41 ad4 output sdram address a4 2ma (sl) 37 ad5 output sdram address a5 2ma (sl) 35 ad6 output sdram address a6 2ma (sl) 33 ad7 output sdram address a7 2ma (sl) 31 ad8 output sdram address a8 2ma (sl) 29 ad9 output sdram address a9 2ma (sl) 30 ad10 output sdram address a10 2ma (sl) 27 ad11 output sdram address a11 for 64m sdram or ba for 16m sdram 2ma (sl) 26 ad12 output sdram address a12, ba0 for 64m sdram, unused on 16m 2ma (sl) table 15: stv0681 pin listing pin no. signal type description drive
stv0681 pin description stv0681 38/44 adcs 7283313c 28 ad13 output sdram address a13, ba1 for 64m sdram, unused on 16m 2ma (sl) 25 cs output, active low chip select: enables (registered low) and disables (registered high) the sdram command decoder. 2ma (sl) 23 ras output, active low sdram row address strobe command 2ma (sl) 21 cas output, active low sdram column address strobe command 2ma (sl) 19 we output, active low sdram write enable command 2ma (sl) 18 dqml output data input/output mask for dram_dq[7:0] 2ma (sl) 100 dq0 input/output sdram data bus 2ma (sl) 2 dq1 input/output sdram data bus 2ma (sl) 4 dq2 input/output sdram data bus 2ma (sl) 6 dq3 input/output sdram data bus 2ma (sl) 8 dq4 input/output sdram data bus 2ma (sl) 10 dq5 input/output sdram data bus 2ma (sl) 14 dq6 input/output sdram data bus 2ma (sl) 16 dq7 input/output sdram data bus 2ma (sl) 17 dq8 input/output sdram data bus 2ma (sl) 15 dq9 input/output sdram data bus 2ma (sl) 13 dq10 input/output sdram data bus 2ma (sl) 9 dq11 input/output sdram data bus 2ma (sl) 7 dq12 input/output sdram data bus 2ma (sl) 5 dq13 input/output sdram data bus 2ma (sl) 3 dq14 input/output sdram data bus 2ma (sl) 1 dq15 input/output sdram data bus 2ma (sl) table 15: stv0681 pin listing pin no. signal type description drive
adcs 7283313c 39/44 stv0681 stv0681 pin description lcd interface 83 lcdcom output lcd common 4ma (sl) 93 lcd1_6 output lcd digit 1 segment g 2ma (sl) 94 lcd1_5 output lcd digit 1 segment f 2ma (sl) 95 lcd1_4 output lcd digit 1 segment e 2ma (sl) 96 lcd1_3 output lcd digit 1 segment d 2ma (sl) 97 lcd1_2 output lcd digit 1 segment c 2ma (sl) 98 lcd1_1 output lcd digit 1 segment b 2ma (sl) 99 lcd1_0 output lcd digit 1 segment a 2ma (sl) 86 lcd2_6 output lcd digit 2 segment g 2ma (sl) 87 lcd2_5 output lcd digit 2 segment f 2ma (sl) 88 lcd2_4 output lcd digit 2segment e 2ma (sl) 89 lcd2_3 output lcd digit 2segment d 2ma (sl) 90 lcd2_2 output lcd digit 2segment c 2ma (sl) 91 lcd2_1 output lcd digit 2 segment b 2ma (sl) 92 lcd2_0 output lcd digit 2 segment a 2ma (sl) piezo interface 82 piezo output direct connection to piezo buzzer 8ma (sl) battery level comparator interface 78 lo_bat input (a) battery level comparator input. the voltage on low_bat is compared to the reference to determine the battery status 77 lo_bat_ref input (a) 1.22v battery level comparator reference input table 15: stv0681 pin listing pin no. signal type description drive
stv0681 pin description stv0681 40/44 adcs 7283313c note: 1 where the i/o pad type is not explicitly defined, assume cmos. power and ground 12, 38, 70, 84 dvss power pin digital ground 11, 39, 69, 85 dvdd power pin digital power 76 aud_vss power pin audio dac ground. requires clean supply. 81 aud_vdd power pin audio dac power. requires clean supply. 53 pllgvss power pin pll guard ground 51 pllavdd power pin pll analog power 52 pllavss power pin pll analog ground non-user pins 45 test0 input non-user pin - connect to 3v3 46 test1 input non-user pin - connect to 3v3 47 test2 input non-user pin - connect to 3v3 79 dacres i(a) dac bias amplifier reference input. 80 dacout o (a) 8-bit dac current source output. 0-10ma key sl slew rate limited output od open drain output s schmidt input a analogue input/output t 5v tolerant pad (these pads do not have diode protection) table 15: stv0681 pin listing pin no. signal type description drive
adcs 7283313c 41/44 stv0681 stv0681 package mechanical data 9 stv0681 package mechanical data tqfp100 dim. mm inch min. typ. max. min. typ. max. a1.600.063 a1 0.05 0.15 0.002 0.006 a2 1.35 1.40 1.45 0.053 0.055 0.057 b 0.17 0.22 0.27 0.007 0.009 0.011 c 0.09 0.20 0.003 0.008 d 16.00 0.630 d1 14.00 0.551 d3 12.00 0.472 e0.50 0.019 e 16.00 0.630 e1 14.00 0.551 e3 12.00 0.472 l 0.45 0.60 0.75 0.018 0.024 0.030 l1 1.00 0.039 3 k 3.5 (min.), 7 (max.) a a2 a1 seating plane c 50 51 75 76 d3 d1 d e tqfp100m 0.076mm .003 inch k l l1 pin 1 identification 100 1 b 25 26 e e1 e3
evaluation kit (evk) stv0681 42/44 adcs 7283313c 10 evaluation kit (evk) stmicroelectronics can supply an evaluation kit for initial evaluation and design-in. the evk includes an stv0681 motherboard pcb and two lensed sensor daughter boards (cif and vga). additional motherboards and daughter boards may be ordered separately. the evk pcb includes sdram memory, connectors, numeric lcd display, battery holder, push buttons/switches, audio record and playback circuitry, flashgun interface circuitry, and a flashgun hotshoe connector (for use of a standard camera flashgun). optional pcb links enable alternate functionality, and demonstration software is included, allowing for tethered video, upload to the pc of pictures, sounds, and avi movie clips, and download to the camera of custom sounds. a reference design manual, giving the camera designer everything required for standard features and audio record/playback is available, including schematics, explanatory notes, parts list, and layout advice. 10.1 ordering details note: all evaluation kits include hardware and software support for audio, custom sounds, and flashgun features. table 16: ordering details for stv0681 + vv6411/6501 evaluation kits description part number stv0681 companion processor stv0681 vv6411 cif color cmos sensor (36lcc package) vv6411c036 VV6501 vga color cmos sensor (36lcc package) VV6501c001 complete evaluation kit stv0681 complete evaluation kit (includes stv-681-m01, stv-6411c-d01 and stv6501c-d01) stv-681-e01 additional evk components evaluation kit motherboard stv-681-m01 sensor daughter board with vv6411 stv-6411c-d01 sensor daughter board with VV6501 stv-6501c-d01
adcs 7283313c 43/44 stv0681 evaluation kit (evk) 10.2 technical support technical support information, such as datasheets, software downloads,etc, for products of the stmicroelectronics imaging division can be found at www.st.com (click on imaging products) general sales/technical enquiries can be directed to regional email contacts: asiapacific.imaging@st.com centraleurope.imaging@st.com france.imaging@st.com japan.imaging@st.com nordic.imaging@st.com southerneurope.imaging@st.com ukeire.imaging@st.com usa.imaging@st.com
adcs 7283313c 44/44 stv0681 information furnished is believed to be accurate and reliable. however, stmicroelectronics assumes no responsibility for the co nsequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of stmicroelectronics. specifications mentioned in this p ublication are subject to change without notice. this publication supersedes and replaces all information previously supplied. stmicroelectron ics products are not authorized for use as critical components in life support devices or systems without express written approval of stmicr oelectronics. the st logo is a registered trademark of stmicroelectronics ? 2003 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - brazil - canada - china - finland - france - germany - hong kong - india - israel - italy - japan malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - u.s.a. www.st.com


▲Up To Search▲   

 
Price & Availability of VV6501

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X